#include <iostream>

int main()
{
    using namespace std;

    int ch;
    char count;

    while ((ch = cin.get()) != EOF)
    {
        cout.put(char(ch));
        ++count;
    }
    cout << endl
         << count << " characters read" << endl;

    return 0;
}